package com.speak.sparkadminserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.speak.sparkadminserver.dao.NutRolePowerDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2023/2/17 21:32
 */
@Service
public interface NutRolePowerService extends IService<com.speak.sparkadminserver.domain.NutRolePower> {
    public List<Integer> AuthList(Long userId);

    /**
     * 添加权限
     * @param roleId
     */
    public void Save(Long roleId);
}
